Skip to content

chore(deps): bump sentence-transformers from 2.2.2 to 5.5.0 in /integrations/astra#3308

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/integrations/astra/sentence-transformers-5.5.0
Closed

chore(deps): bump sentence-transformers from 2.2.2 to 5.5.0 in /integrations/astra#3308
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/integrations/astra/sentence-transformers-5.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 15, 2026

Bumps sentence-transformers from 2.2.2 to 5.5.0.

Release notes

Sourced from sentence-transformers's releases.

v5.5.0 - Training Agent Skill, EmbedDistillLoss, and ADRMSELoss

This release ships the train-sentence-transformers Agent Skill, adds two new training losses, and brings a long list of robustness and correctness fixes.

The new train-sentence-transformers Agent Skill lets AI coding agents (Claude Code, Codex, Cursor, Gemini CLI, ...) drive end-to-end training and fine-tuning across all three model types. EmbedDistillLoss is a new embedding-level knowledge distillation loss for SentenceTransformer: it aligns a student model's embeddings with pre-computed teacher embeddings, an alternative to the score-based distillation provided by MarginMSELoss and DistillKLDivLoss. ADRMSELoss is a new listwise learning-to-rank loss for CrossEncoder from the Rank-DistiLLM paper. encode() and predict() also gain a per-call processing_kwargs override, and more.

Install this version with

# Training + Inference
pip install sentence-transformers[train]==5.5.0
Inference only, use one of:
pip install sentence-transformers==5.5.0
pip install sentence-transformers[onnx-gpu]==5.5.0
pip install sentence-transformers[onnx]==5.5.0
pip install sentence-transformers[openvino]==5.5.0
Multimodal dependencies (optional):
pip install sentence-transformers[image]==5.5.0
pip install sentence-transformers[audio]==5.5.0
pip install sentence-transformers[video]==5.5.0
Or combine as needed:
pip install sentence-transformers[train,onnx,image]==5.5.0

The train-sentence-transformers Agent Skill (#3752)

If you use an AI coding agent (Claude Code, Codex, Cursor, Gemini CLI, OpenCode, ...), you can now install the train-sentence-transformers Agent Skill and ask your agent to fine-tune a model on your data:

hf skills add train-sentence-transformers              # installs under ./.agents/skills/
hf skills add train-sentence-transformers --global     # installs under ~/.agents/skills/
hf skills add train-sentence-transformers --claude     # also symlinks into .claude/skills/

The skill gives the agent curated, version-aware guidance for training SentenceTransformer (bi-encoder), CrossEncoder (reranker), and SparseEncoder/SPLADE models, covering base model selection, loss and evaluator choice, hard-negative mining, distillation, LoRA, Matryoshka, multilingual training, static embeddings, plus a set of production-ready training template scripts. Then you can prompt your agent with things like:

"Train a multilingual sentence-transformer on Dutch legal pairs."

"Fine-tune a cross-encoder reranker on (question, answer) pairs from my dataset, mine hard negatives, and push to my Hub repo."

"Train a German sparse embedding model with high sparsity."

"Can you train a static embedding model on 100k code triplets?"

The skill lives in the repository under skills/train-sentence-transformers/ and is mirrored to the huggingface/skills marketplace on each release.

New loss: EmbedDistillLoss (#3665)

... (truncated)

Commits
  • f9f3269 Merge branch 'main' into v5.5-release
  • 02dc21d Update index tip for v5.5.0 (#3774)
  • 833828b Release v5.5.0
  • 98ac358 [docs] Load models in float32 in the training examples & docs (#3773)
  • d8ee041 [docs] Use modality-neutral terms (input, document) in loss docs & docstrin...
  • 4c6850e [examples] Avoid LoggingHandler, silence httpx in examples (#3771)
  • 1418823 docs: fix grammar in parallel-sentence-mining README (#3769)
  • 22a383d [docs] Use direct class imports in examples & docs (drop `losses.MSELoss(.....
  • 68e4d61 [fix] Unwrap DDP/torch.compile wrappers in AdaptiveLayerLoss (#3768)
  • 8151750 [fix] Use first non-pad token for CLS pooling with left-padding (#3767)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sentence-transformers](https://github.com/huggingface/sentence-transformers) from 2.2.2 to 5.5.0.
- [Release notes](https://github.com/huggingface/sentence-transformers/releases)
- [Commits](huggingface/sentence-transformers@v2.2.2...v5.5.0)

---
updated-dependencies:
- dependency-name: sentence-transformers
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 15, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 15, 2026 10:55
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 15, 2026
@dependabot dependabot Bot removed the request for review from a team May 15, 2026 10:55
@dependabot dependabot Bot added the python Pull requests that update python code label May 15, 2026
@dependabot dependabot Bot requested a review from anakin87 May 15, 2026 10:55
@github-actions
Copy link
Copy Markdown
Contributor

Coverage report (astra)

This PR does not seem to contain any modification to coverable code.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 15, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/integrations/astra/sentence-transformers-5.5.0 branch May 15, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file integration:astra python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant